/**
 * 
 * 
#include <iostream>
#include <vector>

using namespace std;

int main(){

    return 0;
}
 * 
 * 
 */

#include <iostream>
#include <vector>

using namespace std;

int main(){
    string str = "hello world";
    string copy = "hello world";
    string& mirror = str;
    for (int i = 0; i < str.size(); i++){
        if (i %2 == 0){
            str[i] = '*';
        }
    }
    cout << "result str: " << str << endl;
    cout << "mirror is: " << mirror << endl;
    cout << "str equals mirror: " << str.compare(copy) << endl;

    return 0;
}